package com.mcb.autopublish.demos.web.constant;

import java.net.URL;

/**
 * <p>
 *
 * </p>
 *
 * @author mcb
 * @since 2024/6/5
 */
public final class AutoPublishConstant {

    /**
     * 热搜类型获取
     */

    // 百度热搜
    public static final String BAIDU_HOT_URL = "https://apis.tianapi.com/nethot/index";

    // 娱乐新闻
    public static final String ENTERTAINMENT_NEWS_URL = "https://apis.tianapi.com/huabian/index";

    // 人工智能
    public static final String AI_URL = "https://apis.tianapi.com/ai/index";


    /**
     * 微信公众号
     */
    // 获取access_token
    public static final String WECHAT_URL_ACCESS_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wxa0f56a6f041bf71a&secret=2202f1693459d03527a6bbddfb156a70";

    // 获取access_token-稳定版
    public static final String WECHAT_URL_ACCESS_TOKEN_STABLE = "https://api.weixin.qq.com/cgi-bin/stable_token";

    // 草稿箱地址
    public static final String WECHAT_URL_DRAFT_URL = "https://api.weixin.qq.com/cgi-bin/draft/add?access_token=";

    /**
     * 请求方式
     */
    // 请求方式-GET
    public static final String METHOD_GET = "GET";

    // 请求方式-POST
    public static final String METHOD_POST = "POST";

    /**
     * 常用参数。
     */
    // 获取热搜时所有参数。
    public static final String URL_CONSTANTS = "key=c4f39e9ddf9a57789523cc43ebfc0cfb";


    /**
     * 缓存
     */
    // 微信类
    public static final String WE_CHAT_MY_CACHE = "myCache";

    // 微信类-access_token
    public static final String WE_CHAT_ACCESS_TOKEN = "access_token";





}
